//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// BCGPChartExample.h : main header file for the BCGPCHARTEXAMPLE application
//

#if !defined(AFX_BCGPCHARTEXAMPLE_H__FA3CFA1A_02B1_4E23_BDD2_8E2CBB177398__INCLUDED_)
#define AFX_BCGPCHARTEXAMPLE_H__FA3CFA1A_02B1_4E23_BDD2_8E2CBB177398__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CBCGPChartExampleApp:
// See BCGPChartExample.cpp for the implementation of this class
//

class CBCGPChartExampleApp : public CBCGPWinApp
{
public:
	CBCGPChartExampleApp();

	// Override from CBCGPWorkspace
	virtual void PreLoadState ();

	int GetDefaultLineWidth()
	{
		return globalData.bIsWindows7 ? 2 : 1;
	}

	const CBCGPChartTheme& GetCustomTheme(int nTheme)
	{
		return nTheme == -2 ? m_CustomColorTheme : m_CustomTexturedTheme;
	}

	// Animation options:
	double										m_dblChartAnimationTime;	// Seconds
	CBCGPAnimationManager::BCGPAnimationType	m_animationType;
	CBCGPChartSeries::BCGPChartAnimationStyle	m_animationStyle;
	CStringArray								m_arAnimationStyleNames;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBCGPChartExampleApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CBCGPChartExampleApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

protected:
	CBCGPChartTheme m_CustomColorTheme;
	CBCGPChartTheme m_CustomTexturedTheme;
};

extern CBCGPChartExampleApp theApp;

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BCGPCHARTEXAMPLE_H__FA3CFA1A_02B1_4E23_BDD2_8E2CBB177398__INCLUDED_)
